package org.example.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.order.model.OrderTbl;

public interface OrderTblService extends IService<OrderTbl> {

    /**
     * 创建订单
     * @param accountId 用户ID
     * @param commodityCode 商品ID
     * @param count 购买数量
     */
    void create(Integer accountId, String commodityCode, int count);
}
